﻿CREATE proc [dbo].[SelectEntityFBTypes]
@entityIDs intlist readonly
--@typeIDs intlist readonly
as
select *
from EntityFBTypes fb
inner join @entityIDs e on e.Value = fb.EntityID
--inner join @typeIDs a on a.Value = fb.FBTypeID